package uit.edu.vn.portal.elearning.models.schedule;


import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root
public class TimeRange {

	@Element(name="firstTime",required=false)
	private Time firstTime;
	
	@Element(name="lastTime",required=false)
	private Time lastTime;

	@Element(name="duration",required=false)
	private long duration;
	
	public Time getFirstTime() {
		return firstTime;
	}

	public void setFirstTime(Time firstTime) {
		this.firstTime = firstTime;
	}

	public Time getLastTime() {
		return lastTime;
	}

	public void setLastTime(Time lastTime) {
		this.lastTime = lastTime;
	}

	public long getDuration() {
		return duration;
	}

	public void setDuration(long duration) {
		this.duration = duration;
	}
	
}
